home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / gnu / gawk / cawf2st.zoo / regerror.c < prev    next >
C/C++ Source or Header  |  1992-04-12  |  288b  |  17 lines

  1. #include <stdio.h>
  2.  
  3. void
  4. regerror(s)
  5. char *s;
  6. {
  7. #ifndef DOSPORT
  8. #ifdef ERRAVAIL
  9.         error("regexp: %s", s);
  10. #else
  11.         fprintf(stderr, "regexp(3): %s", s);
  12.         exit(1);
  13. #endif
  14.         /* NOTREACHED */
  15. #endif /* ifdef'd out for less's sake when reporting error inside less */
  16. }
  17.